<?php
/**
 * Created by PhpStorm.
 * User: 刘红波 <liuhb@cqjcdflzxsws.com>
 * Date: 2018/11/22
 * Time: 15:26
 */

namespace app\sd\model;


use think\Model;

class WeReport extends Model
{
    protected $autoWriteTimestamp = true;

    protected $name = 'we_report';
    public function reportList($map)
    {
        $map = array_merge(['is_delete'=>0],$map);
        $model = new self();
        $list = $model->where($map)->paginate();
        return $list;
    }
}